
public class Hospital
{
	int inventory;
	Object Info;

	public Hospital() 
	{
		inventory = 0;
	}
	
	public int getBlood( int amount)
	{
		if(amount < inventory)
		{
			inventory = inventory - amount;
			return amount;	
		}
		else
		{
			return 0;
		}
	}
	
	public void addBlood( int amount)
	{
		inventory = inventory + amount;
	}
	
	public String toString() 
	{
		return "Bank []";
	}
	
}
